﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using blackhouse.BlackApart.Business.Calendar;

namespace blackhouse.BlackApart.Business.Apartments {
    public interface IApartment {

        int Id { get; }
        int NumberOfPeople { get; set; }
        IApartmentLocation Location { get; set; }
        float AreaSize { get; set; }
        string Name { get; set; }
        IApartmentGroup Group { get; set; }

        bool Save();

       // ICalendar GetCalendar(DateTime startDate, DateTime endDate);

        IApartment[] GetAllFreeApartments(DateTime strtDate, DateTime endDate);

        IApartment[] GetAllFreeApartments(DateTime strtDate, DateTime endDate, int apartmentGroupId);

        IApartment[] GetApartmentsByGroup(int groupId);

    }
}
